package com.lcf.common.model;

/**
 * @author ChenFei
 * @date 2021/12/1
 */
public interface MqConstant {

    String DEFAULT_QUEUE = "default.queue";
    //FANOUT
    String FANOUT_QUEUE_ONE = "fanout.queue.one";
    String FANOUT_QUEUE_TWO = "fanout.queue.two";
    String FANOUT_EXCHANGE = "fanout.exchange";
    //DIRECT
    String DIRECT_EXCHANGE = "direct.exchange";
    String DIRECT_QUEUE_ONE = "direct.queue.one";
    String DIRECT_QUEUE_TWO = "direct.queue.two";
    String DIRECT_KEY_ONE = "direct.key.one";
    String DIRECT_KEY_TWO = "direct.key.two";
    //TOPIC ,key 可以使用# 表示所有， 其他：
    String TOPIC_EXCHANGE = "topic.exchange";
    String TOPIC_QUEUE = "topic.queue";
    String TOPIC_CAT_KEY = "cat.*";
    String TOPIC_DOG_KEY = "dog.*";
    //topic所有格式都接收使用 '#'
}
